package project.entity;


import javax.print.attribute.standard.DateTimeAtCreation;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;

public class Project {
    //数据库t_project主键
    private int id;

    private String leader;

    private String projectName;

    private String createTime;

    private String detail;

    private int state;

    private int ifJoin; //等于1代表当前user已加入，按钮变色

    List<String> memberList;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public List<String> getMemberList() {
        return memberList;
    }

    public void setMemberList(List<String> memberList) {
        this.memberList = memberList;
    }

    public int getIfJoin() {
        return ifJoin;
    }

    public void setIfJoin(int ifJoin) {
        this.ifJoin = ifJoin;
    }

    @Override
    public String toString() {
        return "Project{" +
                "id=" + id +
                ", leader='" + leader + '\'' +
                ", projectName='" + projectName + '\'' +
                ", createTime='" + createTime + '\'' +
                ", detail='" + detail + '\'' +
                ", state=" + state +
                ", memberList=" + memberList +
                '}';
    }
}
